* {
    margin: 0px;
    padding: 0px;
}

img {
    border: none;
}

a {
    text-decoration: none;
}

.clear {
    clear: both;
    /* 该样式效果是元素左侧和右侧均不出现浮动元素 */
}


/* 商品样式代码开始 */

.shop {
    width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
    /* 整个大盒子 */
}

#box-top {
    float: left;
    width: 400px;
    height: 400px;
    position: relative;
    background: #eee;
}

#box-top img {
    width: 400px;
    height: 400px;
}


/* 展示大盒子所需代码 */

#showbox {
    width: 400px;
    height: 400px;
    position: relative;
    background: #eee;
}

.showbox0 {
    width: 400px;
    height: 400px;
    position: relative;
    top: 0px;
    left: 0px;
}

#showbox .showbox0 b {
    display: block
}

#showbox img {
    max-width: none;
    max-height: none;
    position: relative;
    left: -400px;
    top: -400px;
    width: 400px;
    height: 400px;
}

#showbox span {
    display: block;
    width: 400px;
    height: 400px;
    background: url(../images/whitebg.png) repeat;
}

#showbox p {
    position: relative;
    overflow: hidden;
    display: none;
    width: 400px;
    height: 400px;
}

#smallbox {
    overflow: hidden;
    width: 345px;
    height: 62px;
    position: relative;
    left: 25px;
    margin-top: 10px
}

#smallbox p {
    position: relative;
    width: 414px;
}

#smallbox span {
    float: left;
    margin-left: 7px;
    width: 60px;
    height: 60px;
    overflow: hidden;
    position: relative;
    max-height: 100%;
    border: 1px solid #ddd;
}

#smallbox span.sel {
    border: 1px solid #f60;
}


/* 演示小图片的左右两个按钮代码 */

.showpage {
    width: 400px;
    position: relative;
}

.showpage a {
    display: block;
    width: 15px;
    height: 60px;
    line-height: 60px;
    background: #eee;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 18px;
    position: relative;
    text-decoration: none;
    color: #999;
}

.showpage a#showright {
    left: auto;
    right: 0;
}

.showpage a:hover {
    background: #ccc;
    color: #777;
}

.text-box {
    float: left;
    width: 530px;
    height: 520px;
    position: relative;
}

.h-box {
    margin-top: 20px;
    padding-bottom: 10px;
}

.h-box h3 {
    font-size: 28px;
    font-weight: 400;
    color: #171717;
}

.txt {
    width: 520px;
    margin-top: 15px;
    overflow: hidden;
    background: #f8f8f8;
}

.price {
    display: block;
    line-height: 100px;
    color: #f73a3a;
    font-size: 24px;
    float: left;
}

.price a {
    font-size: 36px;
    color: #f73a3a;
}

.price a:hover {
    text-decoration: none;
}

.cumulative {
    float: right;
}

.number {
    /* 累积售出累积评价部分的代码开始 */
    float: left;
    margin-top: 30px;
    padding: 0px 10px;
    border-right: #e7e7e7 solid 1px;
    font-size: 14px;
    text-align: center;
    color: #bfbfbf;
}

.number em {
    color: #5885c6;
    font-style: normal
}

.ty2 {
    border: none;
    /* 累积售出累积评价部分的代码结束 */
}

.type {
    width: 520px;
    overflow: hidden;
}

.type0 {
    float: left;
    font-size: 14px;
    line-height: 80px;
    padding-right: 20px;
    color: #848484;
}

#color {
    padding-top: 25px;
}

#color li {
    float: left;
    padding-right: 10px;
}

#color li a {
    padding: 5px 8px;
    color: #222222;
    font-size: 16px;
    border: #e3e3e3 solid 1px;
    display: block;
}

#color li a:hover {
    border: #f73a3a solid 1px;
    text-decoration: none;
    color: #f73a3a;
}

.quantity {
    height: 70px;
}

.quantity0 {
    color: #848484;
    font-size: 14px;
    padding-right: 18px;
    line-height: 70px;
}

.quantity input {
    border: #e3e3e3 solid 1px;
    padding: 5px 8px;
    color: #848484;
    font-size: 16px;
}

.nobdr-btns {
    padding-top: 25px;
}

.number {
    color: #424242;
    font-size: 14px;
    padding-left: 10px;
}


/* 最后 */

.button-shop {
    background: #fd532d;
    padding: 0px 50px;
    border-radius: 4px;
    color: #FFFFFF;
    margin-right: 10px;
    font-size: 16px;
    line-height: 50px;
}

.right2 {
    background: #e60013;
}

.button-shop img {
    vertical-align: middle;
    margin-bottom: 3px;
    padding-right: 5px;
}

.guarantee {
    height: 50px;
}

.guarantee span {
    font-size: 14px;
    line-height: 50px;
    color: #666666;
}

.guarantee span a img {
    vertical-align: middle;
    margin-bottom: 3px;
}